#include "List.h"
Element_data Stu_data[50] = {
    {.id = 1, .age = 18, .sco = 100, .sex = "男", .name = "唐三"},
    {.id = 2, .age = 18, .sco = 99, .sex = "男", .name = "萧炎"},
    {.id = 3, .age = 18, .sco = 99, .sex = "男", .name = "叶晨"},
    {.id = 4, .age = 18, .sco = 99, .sex = "女", .name = "小舞"},
    {.id = 5, .age = 18, .sco = 99, .sex = "女", .name = "萧熏儿"},
    {.id = 6, .age = 18, .sco = 99, .sex = "女", .name = "柳如烟"},

};
int main()
{
  Sql_list list;
  Sql_list *L = &list;
  Init_Sql_list(L);
  for (int i = 0; i < 5; i++)
  {
    Insert_Sql_list(L, Stu_data[i]);
  }
  printf_Sql_list(L);
  printf("=========删除后=========\n");
  printf("删除的是：");
  Element_data res = deletpluse_Sql_list(L, 2);
  printf("%s %d\n", res.name, res.id);
}